package com.douyu.data.up.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.douyu.data.up.entity.Up;
import com.douyu.data.up.model.UpModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.Bean;

import java.util.List;

@Mapper
public interface UpMapper extends BaseMapper<Up> {
    UpModel getUpDetail(@Param("id") String id);
    List<UpModel> getUpList(String id, String name, String levelFrom, String levelTo, String association, String online, String attentionFrom, String attentionTo, String vipNumberFrom, String vipNumberTo, String diamondFansFrom, String diamondFansTo);
}
